﻿using Grow.Module.Service;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;

namespace Grow.Module.AspNetCore.Service
{
    public interface IApplicationServiceContext : IServiceContext
    {
        /// <summary>
        /// 获取IApplicationBuilder
        /// </summary>
        /// <returns></returns>
        IApplicationBuilder GetApplicationBuilder();

        /// <summary>
        /// 获取IEndpointRouteBuilder
        /// </summary>
        /// <returns></returns>
        IEndpointRouteBuilder GetEndpointRouteBuilder();

    }
}
